package com.weixing.mall.provider.model.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;
;

/**
 * @Author wx
 * @Date 2019/10/30 10:04
 * @Version 1.0
 */

@NoArgsConstructor
public enum  GoodsPartitionEnum implements IBaseEnum<Integer> {
    //1、时尚分区 2、专柜分区 3、饰品分区 4、活动分区
    FASHION(1,"时尚分区"),
    SPECIAL_COUNTER(2,"专柜分区"),
    ORNAMENTS(3,"饰品分区"),
    ACTIVITY(4,"活动分区");

    private int value;
    private String desp;

    GoodsPartitionEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
